gtk: Fix transfer annotations gtk_binding_set_new and *_by_class
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 20 Aug 2014 14:18:45 +0000 (16:18 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 20 Aug 2014 14:23:06 +0000 (16:23 +0200)
Those instances are exclusively handled internally and can not be freed.

gtk/gtkbindings.c

index f2f9c015784bb63401af914e8ca18241539d4d64..6218043ec09020f0fbf039ffa4efd01b084be1b6 100644 (file)
@@ -669,7 +669,7 @@ gtk_binding_entry_activate (GtkBindingEntry *entry,
  * GTK+ maintains a global list of binding sets. Each binding set has
  * a unique name which needs to be specified upon creation.
  *
- * Returns: (transfer full): new binding set
+ * Returns: (transfer none): new binding set
  */
 GtkBindingSet*
 gtk_binding_set_new (const gchar *set_name)
@@ -700,7 +700,7 @@ gtk_binding_set_new (const gchar *set_name)
  * the passed in class structure. New binding sets are created on
  * demand by this function.
  *
- * Returns: (transfer full): the binding set corresponding to
+ * Returns: (transfer none): the binding set corresponding to
  *     @object_class
  */
 GtkBindingSet*